﻿#ifndef SYRINGECALCULATOR_H
#define SYRINGECALCULATOR_H

#include <cmath>
#include "CommonHelper.h"

extern QString expConsumablesType;

class SyringeCalculator
{
public:
    SyringeCalculator();

    static double calStep2MM(int idx, double stepNum);
    static double getSyringeHeightMM(int idx);
    static double getSyringeDiameterMM(int idx);

    static double speedMin2s(int idx, double speedMin);
    static double speedS2min(int idx, double speedS);

    static double getSyringePercentFromInitialPosition(int idx);



};

#endif // SYRINGECALCULATOR_H
